package org.jeecg.modules.demo.weixin.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.time.LocalDateTime;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 门店日报表
 * @Author: jeecg-boot
 * @Date:   2023-12-26
 * @Version: V1.0
 */
@Data
@TableName("smt_split_merchant")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_split_merchant对象", description="门店日报表")
public class SmtSplitMerchant implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**门店id*/
	@Excel(name = "门店id", width = 15)
    @ApiModelProperty(value = "门店id")
    private String merchantId;
	/**门店名称*/
	@Excel(name = "门店名称", width = 15)
    @ApiModelProperty(value = "门店名称")
    private String merName;
	/**总营业额*/
	@Excel(name = "总营业额", width = 15)
    @ApiModelProperty(value = "总营业额")
    private BigDecimal amountSum;
	/**锁定总额(充值未消费未分配)*/
	@Excel(name = "锁定总额(充值未消费未分配)", width = 15)
    @ApiModelProperty(value = "锁定总额(充值未消费未分配)")
    private BigDecimal amountLock;
	/**已分账总额*/
	@Excel(name = "已分账总额", width = 15)
    @ApiModelProperty(value = "已分账总额")
    private BigDecimal amountSplit;
	/**分账收益*/
	@Excel(name = "分账收益", width = 15)
    @ApiModelProperty(value = "分账收益")
    private BigDecimal amountSplitHave;
	/**创建时间(按日统计)*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间(按日统计)")
    private LocalDateTime createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    /**分账收益*/
    @Excel(name = "分账通商云收益", width = 15)
    @ApiModelProperty(value = "分账通商云收益")
    private BigDecimal amountTsySplitHave;

    /**分账收益*/
    @Excel(name = "通商云分配金额", width = 15)
    @ApiModelProperty(value = "通商云分配金额")
    private BigDecimal amountTsySplit;

    /**分账收益*/
    @Excel(name = "日报类型（0 日报 1 日员工汇总）", width = 15)
    @ApiModelProperty(value = "日报类型（0 日报 1 日员工汇总）")
    private Integer splitMerType;



}
